home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kit PC World De Ampliacion De Windows 95
/
Kit PC World de ampliacion de Windows 95.iso
/
internet
/
sweeper
/
samples
/
olecon~1
/
controls
/
template
/
template.odl
< prev
next >
Wrap
Text File
|
1995-11-25
|
2KB
|
84 lines
//=--------------------------------------------------------------------------=
// <<DEFCONTROLNAME>>.ODL
//=--------------------------------------------------------------------------=
// Copyright 1995 Microsoft Corporation. All Rights Reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//=--------------------------------------------------------------------------=
//
// ODL file for the control(s) and automation object(s) in this inproc server
//
#include <olectl.h>
#include "dispids.h"
// can't include oaidl.h, so this will have to do
//
#define DISPID_NEWENUM -4
//=--------------------------------------------------------------------------=
// the libid for this type libray
//
[
uuid(<<GUID_LIBID>>),
helpstring("<<DEFCONTROLNAME>> Control Library"),
lcid(0x0000),
version(1.0)
]
library <<DEFCONTROLNAME>>Objects {
// standard imports
//
importlib("STDOLE32.TLB");
importlib(STDTYPE_TLB);
// primary dispatch interface for C<<DEFCONTROLNAME>> control
//
[
uuid(<<GUID_PRIMARYDISPATCH>>),
helpstring("<<DEFCONTROLNAME>> Control"),
hidden,
dual,
odl
]
interface I<<DEFCONTROLNAME>> : IDispatch {
// properties
//
// methods
//
[id(DISPID_ABOUTBOX)]
void AboutBox(void);
};
// event interface for C<<DEFCONTROLNAME>> controls ...
//
[
uuid(<<GUID_EVENTINTERFACE>>),
helpstring("Event interface for <<DEFCONTROLNAME>> control"),
hidden
]
dispinterface D<<DEFCONTROLNAME>>Events {
properties:
methods:
};
// coclass for C<<DEFCONTROLNAME>> controls
//
[
uuid(<<GUID_COCLASS>>),
helpstring("<<DEFCONTROLNAME>> control")
]
coclass <<DEFCONTROLNAME>> {
[default] interface I<<DEFCONTROLNAME>>;
[default, source] dispinterface D<<DEFCONTROLNAME>>Events;
};
};